#pragma once

#include "CentralBufferNode.h"


namespace uml {

CentralBufferNode::CentralBufferNode(const QString& umlType)
    : ObjectNode(umlType) {}

void CentralBufferNode::fromJson(const QJsonObject& json, QStringList& errorList) {
    if (json.isEmpty()) {
        return;
    }

    ObjectNode::fromJson(json, errorList);
}

void CentralBufferNode::toJson(QJsonObject& json) {
    ObjectNode::toJson(json);
}

} // namespace uml
